html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  // font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, sans-serif;
  font-family: Inter, Roboto, Oxygen, 'Fira Sans', 'Helvetica Neue', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;

  &.is-component {
    overflow: hidden;
  }
}

body {
  padding-top: 80px;
  height: 100%;
}

#app {
  height: 100%;

  // &.en-US {
  //   // font-family: Consolas, 'Liberation Mono', Menlo, 'Courier New', Courier, Monaco, monospace;
  //   // Inter, Roboto, Oxygen, "Fira Sans", "Helvetica Neue", sans-serif;
  // }

  &.is-component {
    overflow-y: hidden;

    .main-cnt {
      padding: 0;
      margin-top: 0;
      height: 100%;
      min-height: auto;
    }

    .headerWrapper {
      position: fixed;
      width: 100%;
      left: 0;
      top: 0;
      z-index: 1500;

      .container {
        padding: 0 40px;
      }
    }
  }
}

a {
  color: #409eff;
  text-decoration: none;
}

code {
  background-color: #f9fafc;
  padding: 0 4px;
  border: 1px solid #eaeefb;
  border-radius: 4px;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.hljs {
  line-height: 1.8;
  font-family: Menlo, Monaco, Consolas, Courier, monospace;
  font-size: 12px;
  padding: 18px 24px;
  background-color: #fafafa;
  border: solid 1px #eaeefb;
  margin-bottom: 25px;
  border-radius: 4px;
  -webkit-font-smoothing: auto;
}

.main-cnt {
  padding-bottom: 340px;
  box-sizing: border-box;
  min-height: 100%;
}

.container,
.page-container {
  //width: 1140px;
  padding: 0 40px;
}

.page-container {
  // padding-top: 55px;

  h1 {
    margin-top: 8px;
    margin-bottom: 20px;
    color: rgba(0, 0, 0, 0.85);
    font-weight: 600;
    font-size: 30px;
  }
  h2,
  h3,
  h4,
  h5,
  h6 {
    // margin: 1.6em 0 0.6em;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
  }
  h2 {
    font-size: 24px;
    line-height: 36px;
    color: #1f2d3d;
  }

  h3 {
    font-size: 18px;
  }

  h2,
  h3,
  h4,
  h5 {
    &:hover a {
      opacity: 0.4;
    }

    a {
      float: left;
      margin-left: -20px;
      opacity: 0;
      cursor: pointer;

      &:hover {
        opacity: 0.4;
      }
    }
  }

  p {
    font-size: 16px;
    color: #303133;
    line-height: 1.7;
    margin: 1rem 0;
  }

  .tip {
    padding: 8px 16px;
    background-color: #ecf8ff;
    border-radius: 4px;
    border-left: #50bfff 5px solid;
    margin: 20px 0;

    code {
      background-color: rgba(255, 255, 255, 0.7);
      color: #445368;
    }
  }

  .warning {
    padding: 8px 16px;
    background-color: #fff6f7;
    border-radius: 4px;
    border-left: #fe6c6f 5px solid;
    margin: 20px 0;

    ul {
      color: #5e6d82;
    }

    code {
      background-color: rgba(255, 255, 255, 0.7);
      color: #445368;
    }
  }

  .tipflex {
    padding: 8px 16px;
    background-color: #ecf8ff;
    border-radius: 4px;
    border-left: #50bfff 5px solid;
    margin: 20px 0;
    display: flex;

    code {
      background-color: rgba(255, 255, 255, 0.7);
      color: #445368;
    }

    pre {
      margin: 5px;
    }
  }
}
.demo {
  margin: 20px 0;
}
@media (max-width: 1140px) {
  .container,
  .page-container {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .container,
  .page-container {
    padding: 0 20px;
  }

  #app.is-component .headerWrapper .container {
    padding: 0 12px;
  }
}

.vue-cesium-doc {
  .example-code {
    position: relative;

    .lang-mark {
      position: absolute;
      bottom: 0.5rem;
      color: #909399;
      font-family: inherit;
      font-size: 0.7rem;
      font-weight: 700;
      right: 1rem;
      text-transform: uppercase;
      user-select: none;
    }
  }

  blockquote {
    margin: 1em 0;
    padding-left: 0.8em;
    color: #909399;
    font-size: 90%;
    border-left: 4px solid #f0f0f0;

    p {
      color: inherit;
      margin: 0;
    }
  }

  .vue-cesium__link {
    .el-icon {
      vertical-align: text-top;
      line-height: 1.5em;
    }
  }
}
